package classifieurs;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map.Entry;

import extraction.Categorie;

public class Classification {
	/**
	 * Lissage avec epsilon
	 */	
	protected static float epsilon = (float) (7 * Math.pow(10, -7));
	
	/**
	 * Les catégories
	 */
	protected Categorie positive;	
	protected Categorie negative; 
	protected Categorie neutral; 
	protected Categorie irrelevant;
	protected Categorie test_positive;
	protected Categorie test_negative;
	protected Categorie test_neutral;
	protected Categorie test_irrelevant;
	protected Categorie test_polarite;
	
	public Classification(HashMap<String, Categorie> statParClasse){
		this.positive = statParClasse.get("positive");
		this.negative = statParClasse.get("negative");
		this.neutral = statParClasse.get("neutral");
		this.irrelevant = statParClasse.get("irrelevant");
		this.test_positive =  statParClasse.get("test_positive");
		this.test_negative =  statParClasse.get("test_negative");
		this.test_neutral =  statParClasse.get("test_neutral");
		this.test_irrelevant =  statParClasse.get("test_irrelevant");
		this.test_polarite =  statParClasse.get("test_polarite");
	}


	
	
	

}
